package com.ws;



import com.webservice.srm.dto.SupplierWsDto;

import javax.xml.ws.WebEndpoint;
import java.net.MalformedURLException;
import java.net.URL;

/**
 * Created by zc on 2016/5/20.
 */
public class SupplierWSTest2 {

    private static URL HELLOSERVICE_WSDL_LOCATION = null;

    static {
        try {
            HELLOSERVICE_WSDL_LOCATION = new URL("http://192.168.10.101:8080/blesrm/services/supplierWS?wsdl");
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }
    }

//    protected SupplierWS(URL wsdlDocumentLocation, QName serviceName) {
//        super(wsdlDocumentLocation, serviceName);
//    }
//
//    public SupplierWS() {
//        super(HELLOSERVICE_WSDL_LOCATION, new QName("http://transport.srm.webservice.com", "HelloService"));
//    }

    @WebEndpoint(name = "getSupplier")
    public SupplierWsDto[] getSupplier() {
//        return (SupplierWsDto[])super.getPort(new QName("getSupplier", "http://transport.srm.webservice.com"), SupplierWsDto.class);
        return null;
    }
}
